package com.ourteam.product.ui.dao;
/**
 * Template Name : DAO数据对象 Template Version : 1 Template Last Modfiy Date : Fri Aug 18 15:51:23 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:07 Warning ! This file will be overwrite when
 * regenerate !
 */
import org.apache.commons.lang.StringUtils;

public class ProductUIFormField implements java.io.Serializable {

  public ProductUIFormField() {
    super();
  }

  private long id;

  /** Attribute id Be Seted Falg */
  private boolean idSetted = false;

  /** Attribute id is Null Falg */
  private boolean idNull = false;

  /**
   * Get id
   *
   * @return long
   */
  public final long getId() {

    return id;
  }

  /**
   * Set id
   *
   * @param long
   */
  public final void setId(long id) {

    this.id = id;

    this.idSetted = true;

    this.setIdNull(false);
  }

  /**
   * Get id Has Been Setted
   *
   * @return boolean
   */
  public final boolean isIdSetted() {
    return this.idSetted;
  }

  /** Set id Null */
  public final void setIdNull() {

    this.idNull = true;
  }

  public final void setIdNull(boolean aNullFlag) {

    this.idNull = aNullFlag;
  }

  public final boolean isIdNull() {

    return this.idNull;
  }

  private long parentId;

  /** Attribute parentId Be Seted Falg */
  private boolean parentIdSetted = false;

  /** Attribute parentId is Null Falg */
  private boolean parentIdNull = false;

  /**
   * Get parentId
   *
   * @return long
   */
  public final long getParentId() {

    return parentId;
  }

  /**
   * Set parentId
   *
   * @param long
   */
  public final void setParentId(long parentId) {

    this.parentId = parentId;

    this.parentIdSetted = true;

    this.setParentIdNull(false);
  }

  /**
   * Get parentId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isParentIdSetted() {
    return this.parentIdSetted;
  }

  /** Set parentId Null */
  public final void setParentIdNull() {

    this.parentIdNull = true;
  }

  public final void setParentIdNull(boolean aNullFlag) {

    this.parentIdNull = aNullFlag;
  }

  public final boolean isParentIdNull() {

    return this.parentIdNull;
  }

  private long formId;

  /** Attribute formId Be Seted Falg */
  private boolean formIdSetted = false;

  /** Attribute formId is Null Falg */
  private boolean formIdNull = false;

  /**
   * Get formId
   *
   * @return long
   */
  public final long getFormId() {

    return formId;
  }

  /**
   * Set formId
   *
   * @param long
   */
  public final void setFormId(long formId) {

    this.formId = formId;

    this.formIdSetted = true;

    this.setFormIdNull(false);
  }

  /**
   * Get formId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isFormIdSetted() {
    return this.formIdSetted;
  }

  /** Set formId Null */
  public final void setFormIdNull() {

    this.formIdNull = true;
  }

  public final void setFormIdNull(boolean aNullFlag) {

    this.formIdNull = aNullFlag;
  }

  public final boolean isFormIdNull() {

    return this.formIdNull;
  }

  private long typeId;

  /** Attribute typeId Be Seted Falg */
  private boolean typeIdSetted = false;

  /** Attribute typeId is Null Falg */
  private boolean typeIdNull = false;

  /**
   * Get typeId
   *
   * @return long
   */
  public final long getTypeId() {

    return typeId;
  }

  /**
   * Set typeId
   *
   * @param long
   */
  public final void setTypeId(long typeId) {

    this.typeId = typeId;

    this.typeIdSetted = true;

    this.setTypeIdNull(false);
  }

  /**
   * Get typeId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTypeIdSetted() {
    return this.typeIdSetted;
  }

  /** Set typeId Null */
  public final void setTypeIdNull() {

    this.typeIdNull = true;
  }

  public final void setTypeIdNull(boolean aNullFlag) {

    this.typeIdNull = aNullFlag;
  }

  public final boolean isTypeIdNull() {

    return this.typeIdNull;
  }

  private String code;

  /** Attribute code Be Seted Falg */
  private boolean codeSetted = false;

  /** Attribute code is Null Falg */
  private boolean codeNull = false;

  /**
   * Get code
   *
   * @return String
   */
  public final String getCode() {

    if (isCodeNull()) {
      return null;
    } else {
      return StringUtils.trim(code);
    }
  }

  /**
   * Set code
   *
   * @param String
   */
  public final void setCode(String code) {

    this.code = StringUtils.trim(code);

    this.codeSetted = true;

    this.setCodeNull(this.code == null);
  }

  /**
   * Get code Has Been Setted
   *
   * @return boolean
   */
  public final boolean isCodeSetted() {
    return this.codeSetted;
  }

  /** Set code Null */
  public final void setCodeNull() {

    this.codeNull = true;
  }

  public final void setCodeNull(boolean aNullFlag) {

    this.codeNull = aNullFlag;
  }

  public final boolean isCodeNull() {

    return this.codeNull;
  }

  private String title;

  /** Attribute title Be Seted Falg */
  private boolean titleSetted = false;

  /** Attribute title is Null Falg */
  private boolean titleNull = false;

  /**
   * Get title
   *
   * @return String
   */
  public final String getTitle() {

    if (isTitleNull()) {
      return null;
    } else {
      return StringUtils.trim(title);
    }
  }

  /**
   * Set title
   *
   * @param String
   */
  public final void setTitle(String title) {

    this.title = StringUtils.trim(title);

    this.titleSetted = true;

    this.setTitleNull(this.title == null);
  }

  /**
   * Get title Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTitleSetted() {
    return this.titleSetted;
  }

  /** Set title Null */
  public final void setTitleNull() {

    this.titleNull = true;
  }

  public final void setTitleNull(boolean aNullFlag) {

    this.titleNull = aNullFlag;
  }

  public final boolean isTitleNull() {

    return this.titleNull;
  }

  private String titleKey;

  /** Attribute titleKey Be Seted Falg */
  private boolean titleKeySetted = false;

  /** Attribute titleKey is Null Falg */
  private boolean titleKeyNull = false;

  /**
   * Get titleKey
   *
   * @return String
   */
  public final String getTitleKey() {

    if (isTitleKeyNull()) {
      return null;
    } else {
      return StringUtils.trim(titleKey);
    }
  }

  /**
   * Set titleKey
   *
   * @param String
   */
  public final void setTitleKey(String titleKey) {

    this.titleKey = StringUtils.trim(titleKey);

    this.titleKeySetted = true;

    this.setTitleKeyNull(this.titleKey == null);
  }

  /**
   * Get titleKey Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTitleKeySetted() {
    return this.titleKeySetted;
  }

  /** Set titleKey Null */
  public final void setTitleKeyNull() {

    this.titleKeyNull = true;
  }

  public final void setTitleKeyNull(boolean aNullFlag) {

    this.titleKeyNull = aNullFlag;
  }

  public final boolean isTitleKeyNull() {

    return this.titleKeyNull;
  }

  private String tipInfo;

  /** Attribute tipInfo Be Seted Falg */
  private boolean tipInfoSetted = false;

  /** Attribute tipInfo is Null Falg */
  private boolean tipInfoNull = false;

  /**
   * Get tipInfo
   *
   * @return String
   */
  public final String getTipInfo() {

    if (isTipInfoNull()) {
      return null;
    } else {
      return StringUtils.trim(tipInfo);
    }
  }

  /**
   * Set tipInfo
   *
   * @param String
   */
  public final void setTipInfo(String tipInfo) {

    this.tipInfo = StringUtils.trim(tipInfo);

    this.tipInfoSetted = true;

    this.setTipInfoNull(this.tipInfo == null);
  }

  /**
   * Get tipInfo Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTipInfoSetted() {
    return this.tipInfoSetted;
  }

  /** Set tipInfo Null */
  public final void setTipInfoNull() {

    this.tipInfoNull = true;
  }

  public final void setTipInfoNull(boolean aNullFlag) {

    this.tipInfoNull = aNullFlag;
  }

  public final boolean isTipInfoNull() {

    return this.tipInfoNull;
  }

  private String readOnly;

  /** Attribute readOnly Be Seted Falg */
  private boolean readOnlySetted = false;

  /** Attribute readOnly is Null Falg */
  private boolean readOnlyNull = false;

  /**
   * Get readOnly
   *
   * @return String
   */
  public final String getReadOnly() {

    if (isReadOnlyNull()) {
      return null;
    } else {
      return StringUtils.trim(readOnly);
    }
  }

  /**
   * Set readOnly
   *
   * @param String
   */
  public final void setReadOnly(String readOnly) {

    this.readOnly = StringUtils.trim(readOnly);

    this.readOnlySetted = true;

    this.setReadOnlyNull(this.readOnly == null);
  }

  /**
   * Get readOnly Has Been Setted
   *
   * @return boolean
   */
  public final boolean isReadOnlySetted() {
    return this.readOnlySetted;
  }

  /** Set readOnly Null */
  public final void setReadOnlyNull() {

    this.readOnlyNull = true;
  }

  public final void setReadOnlyNull(boolean aNullFlag) {

    this.readOnlyNull = aNullFlag;
  }

  public final boolean isReadOnlyNull() {

    return this.readOnlyNull;
  }

  private String allowEmpty;

  /** Attribute allowEmpty Be Seted Falg */
  private boolean allowEmptySetted = false;

  /** Attribute allowEmpty is Null Falg */
  private boolean allowEmptyNull = false;

  /**
   * Get allowEmpty
   *
   * @return String
   */
  public final String getAllowEmpty() {

    if (isAllowEmptyNull()) {
      return null;
    } else {
      return StringUtils.trim(allowEmpty);
    }
  }

  /**
   * Set allowEmpty
   *
   * @param String
   */
  public final void setAllowEmpty(String allowEmpty) {

    this.allowEmpty = StringUtils.trim(allowEmpty);

    this.allowEmptySetted = true;

    this.setAllowEmptyNull(this.allowEmpty == null);
  }

  /**
   * Get allowEmpty Has Been Setted
   *
   * @return boolean
   */
  public final boolean isAllowEmptySetted() {
    return this.allowEmptySetted;
  }

  /** Set allowEmpty Null */
  public final void setAllowEmptyNull() {

    this.allowEmptyNull = true;
  }

  public final void setAllowEmptyNull(boolean aNullFlag) {

    this.allowEmptyNull = aNullFlag;
  }

  public final boolean isAllowEmptyNull() {

    return this.allowEmptyNull;
  }

  private String dataSource;

  /** Attribute dataSource Be Seted Falg */
  private boolean dataSourceSetted = false;

  /** Attribute dataSource is Null Falg */
  private boolean dataSourceNull = false;

  /**
   * Get dataSource
   *
   * @return String
   */
  public final String getDataSource() {

    if (isDataSourceNull()) {
      return null;
    } else {
      return StringUtils.trim(dataSource);
    }
  }

  /**
   * Set dataSource
   *
   * @param String
   */
  public final void setDataSource(String dataSource) {

    this.dataSource = StringUtils.trim(dataSource);

    this.dataSourceSetted = true;

    this.setDataSourceNull(this.dataSource == null);
  }

  /**
   * Get dataSource Has Been Setted
   *
   * @return boolean
   */
  public final boolean isDataSourceSetted() {
    return this.dataSourceSetted;
  }

  /** Set dataSource Null */
  public final void setDataSourceNull() {

    this.dataSourceNull = true;
  }

  public final void setDataSourceNull(boolean aNullFlag) {

    this.dataSourceNull = aNullFlag;
  }

  public final boolean isDataSourceNull() {

    return this.dataSourceNull;
  }

  private String style;

  /** Attribute style Be Seted Falg */
  private boolean styleSetted = false;

  /** Attribute style is Null Falg */
  private boolean styleNull = false;

  /**
   * Get style
   *
   * @return String
   */
  public final String getStyle() {

    if (isStyleNull()) {
      return null;
    } else {
      return StringUtils.trim(style);
    }
  }

  /**
   * Set style
   *
   * @param String
   */
  public final void setStyle(String style) {

    this.style = StringUtils.trim(style);

    this.styleSetted = true;

    this.setStyleNull(this.style == null);
  }

  /**
   * Get style Has Been Setted
   *
   * @return boolean
   */
  public final boolean isStyleSetted() {
    return this.styleSetted;
  }

  /** Set style Null */
  public final void setStyleNull() {

    this.styleNull = true;
  }

  public final void setStyleNull(boolean aNullFlag) {

    this.styleNull = aNullFlag;
  }

  public final boolean isStyleNull() {

    return this.styleNull;
  }

  private String parameterValue;

  /** Attribute parameterValue Be Seted Falg */
  private boolean parameterValueSetted = false;

  /** Attribute parameterValue is Null Falg */
  private boolean parameterValueNull = false;

  /**
   * Get parameterValue
   *
   * @return String
   */
  public final String getParameterValue() {

    if (isParameterValueNull()) {
      return null;
    } else {
      return StringUtils.trim(parameterValue);
    }
  }

  /**
   * Set parameterValue
   *
   * @param String
   */
  public final void setParameterValue(String parameterValue) {

    this.parameterValue = StringUtils.trim(parameterValue);

    this.parameterValueSetted = true;

    this.setParameterValueNull(this.parameterValue == null);
  }

  /**
   * Get parameterValue Has Been Setted
   *
   * @return boolean
   */
  public final boolean isParameterValueSetted() {
    return this.parameterValueSetted;
  }

  /** Set parameterValue Null */
  public final void setParameterValueNull() {

    this.parameterValueNull = true;
  }

  public final void setParameterValueNull(boolean aNullFlag) {

    this.parameterValueNull = aNullFlag;
  }

  public final boolean isParameterValueNull() {

    return this.parameterValueNull;
  }

  private int sortIndex;

  /** Attribute sortIndex Be Seted Falg */
  private boolean sortIndexSetted = false;

  /** Attribute sortIndex is Null Falg */
  private boolean sortIndexNull = false;

  /**
   * Get sortIndex
   *
   * @return int
   */
  public final int getSortIndex() {

    return sortIndex;
  }

  /**
   * Set sortIndex
   *
   * @param int
   */
  public final void setSortIndex(int sortIndex) {

    this.sortIndex = sortIndex;

    this.sortIndexSetted = true;

    this.setSortIndexNull(false);
  }

  /**
   * Get sortIndex Has Been Setted
   *
   * @return boolean
   */
  public final boolean isSortIndexSetted() {
    return this.sortIndexSetted;
  }

  /** Set sortIndex Null */
  public final void setSortIndexNull() {

    this.sortIndexNull = true;
  }

  public final void setSortIndexNull(boolean aNullFlag) {

    this.sortIndexNull = aNullFlag;
  }

  public final boolean isSortIndexNull() {

    return this.sortIndexNull;
  }

  private String status;

  /** Attribute status Be Seted Falg */
  private boolean statusSetted = false;

  /** Attribute status is Null Falg */
  private boolean statusNull = false;

  /**
   * Get status
   *
   * @return String
   */
  public final String getStatus() {

    if (isStatusNull()) {
      return null;
    } else {
      return StringUtils.trim(status);
    }
  }

  /**
   * Set status
   *
   * @param String
   */
  public final void setStatus(String status) {

    this.status = StringUtils.trim(status);

    this.statusSetted = true;

    this.setStatusNull(this.status == null);
  }

  /**
   * Get status Has Been Setted
   *
   * @return boolean
   */
  public final boolean isStatusSetted() {
    return this.statusSetted;
  }

  /** Set status Null */
  public final void setStatusNull() {

    this.statusNull = true;
  }

  public final void setStatusNull(boolean aNullFlag) {

    this.statusNull = aNullFlag;
  }

  public final boolean isStatusNull() {

    return this.statusNull;
  }

  private String remarks;

  /** Attribute remarks Be Seted Falg */
  private boolean remarksSetted = false;

  /** Attribute remarks is Null Falg */
  private boolean remarksNull = false;

  /**
   * Get remarks
   *
   * @return String
   */
  public final String getRemarks() {

    if (isRemarksNull()) {
      return null;
    } else {
      return StringUtils.trim(remarks);
    }
  }

  /**
   * Set remarks
   *
   * @param String
   */
  public final void setRemarks(String remarks) {

    this.remarks = StringUtils.trim(remarks);

    this.remarksSetted = true;

    this.setRemarksNull(this.remarks == null);
  }

  /**
   * Get remarks Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRemarksSetted() {
    return this.remarksSetted;
  }

  /** Set remarks Null */
  public final void setRemarksNull() {

    this.remarksNull = true;
  }

  public final void setRemarksNull(boolean aNullFlag) {

    this.remarksNull = aNullFlag;
  }

  public final boolean isRemarksNull() {

    return this.remarksNull;
  }

  private long modelPropertyId;

  /** Attribute modelPropertyId Be Seted Falg */
  private boolean modelPropertyIdSetted = false;

  /** Attribute modelPropertyId is Null Falg */
  private boolean modelPropertyIdNull = false;

  /**
   * Get modelPropertyId
   *
   * @return long
   */
  public final long getModelPropertyId() {

    return modelPropertyId;
  }

  /**
   * Set modelPropertyId
   *
   * @param long
   */
  public final void setModelPropertyId(long modelPropertyId) {

    this.modelPropertyId = modelPropertyId;

    this.modelPropertyIdSetted = true;

    this.setModelPropertyIdNull(false);
  }

  /**
   * Get modelPropertyId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isModelPropertyIdSetted() {
    return this.modelPropertyIdSetted;
  }

  /** Set modelPropertyId Null */
  public final void setModelPropertyIdNull() {

    this.modelPropertyIdNull = true;
  }

  public final void setModelPropertyIdNull(boolean aNullFlag) {

    this.modelPropertyIdNull = aNullFlag;
  }

  public final boolean isModelPropertyIdNull() {

    return this.modelPropertyIdNull;
  }

  private String fieldSpan;

  /** Attribute fieldSpan Be Seted Falg */
  private boolean fieldSpanSetted = false;

  /** Attribute fieldSpan is Null Falg */
  private boolean fieldSpanNull = false;

  /**
   * Get fieldSpan
   *
   * @return String
   */
  public final String getFieldSpan() {

    if (isFieldSpanNull()) {
      return null;
    } else {
      return StringUtils.trim(fieldSpan);
    }
  }

  /**
   * Set fieldSpan
   *
   * @param String
   */
  public final void setFieldSpan(String fieldSpan) {

    this.fieldSpan = StringUtils.trim(fieldSpan);

    this.fieldSpanSetted = true;

    this.setFieldSpanNull(this.fieldSpan == null);
  }

  /**
   * Get fieldSpan Has Been Setted
   *
   * @return boolean
   */
  public final boolean isFieldSpanSetted() {
    return this.fieldSpanSetted;
  }

  /** Set fieldSpan Null */
  public final void setFieldSpanNull() {

    this.fieldSpanNull = true;
  }

  public final void setFieldSpanNull(boolean aNullFlag) {

    this.fieldSpanNull = aNullFlag;
  }

  public final boolean isFieldSpanNull() {

    return this.fieldSpanNull;
  }

  private String fieldColumn;

  /** Attribute fieldColumn Be Seted Falg */
  private boolean fieldColumnSetted = false;

  /** Attribute fieldColumn is Null Falg */
  private boolean fieldColumnNull = false;

  /**
   * Get fieldColumn
   *
   * @return String
   */
  public final String getFieldColumn() {

    if (isFieldColumnNull()) {
      return null;
    } else {
      return StringUtils.trim(fieldColumn);
    }
  }

  /**
   * Set fieldColumn
   *
   * @param String
   */
  public final void setFieldColumn(String fieldColumn) {

    this.fieldColumn = StringUtils.trim(fieldColumn);

    this.fieldColumnSetted = true;

    this.setFieldColumnNull(this.fieldColumn == null);
  }

  /**
   * Get fieldColumn Has Been Setted
   *
   * @return boolean
   */
  public final boolean isFieldColumnSetted() {
    return this.fieldColumnSetted;
  }

  /** Set fieldColumn Null */
  public final void setFieldColumnNull() {

    this.fieldColumnNull = true;
  }

  public final void setFieldColumnNull(boolean aNullFlag) {

    this.fieldColumnNull = aNullFlag;
  }

  public final boolean isFieldColumnNull() {

    return this.fieldColumnNull;
  }

  private String remenberValue;

  /** Attribute remenberValue Be Seted Falg */
  private boolean remenberValueSetted = false;

  /** Attribute remenberValue is Null Falg */
  private boolean remenberValueNull = false;

  /**
   * Get remenberValue
   *
   * @return String
   */
  public final String getRemenberValue() {

    if (isRemenberValueNull()) {
      return null;
    } else {
      return StringUtils.trim(remenberValue);
    }
  }

  /**
   * Set remenberValue
   *
   * @param String
   */
  public final void setRemenberValue(String remenberValue) {

    this.remenberValue = StringUtils.trim(remenberValue);

    this.remenberValueSetted = true;

    this.setRemenberValueNull(this.remenberValue == null);
  }

  /**
   * Get remenberValue Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRemenberValueSetted() {
    return this.remenberValueSetted;
  }

  /** Set remenberValue Null */
  public final void setRemenberValueNull() {

    this.remenberValueNull = true;
  }

  public final void setRemenberValueNull(boolean aNullFlag) {

    this.remenberValueNull = aNullFlag;
  }

  public final boolean isRemenberValueNull() {

    return this.remenberValueNull;
  }

  private String typeWidget;

  /** Attribute typeWidget Be Seted Falg */
  private boolean typeWidgetSetted = false;

  /** Attribute typeWidget is Null Falg */
  private boolean typeWidgetNull = false;

  /**
   * Get typeWidget
   *
   * @return String
   */
  public final String getTypeWidget() {

    if (isTypeWidgetNull()) {
      return null;
    } else {
      return StringUtils.trim(typeWidget);
    }
  }

  /**
   * Set typeWidget
   *
   * @param String
   */
  public final void setTypeWidget(String typeWidget) {

    this.typeWidget = StringUtils.trim(typeWidget);

    this.typeWidgetSetted = true;

    this.setTypeWidgetNull(this.typeWidget == null);
  }

  /**
   * Get typeWidget Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTypeWidgetSetted() {
    return this.typeWidgetSetted;
  }

  /** Set typeWidget Null */
  public final void setTypeWidgetNull() {

    this.typeWidgetNull = true;
  }

  public final void setTypeWidgetNull(boolean aNullFlag) {

    this.typeWidgetNull = aNullFlag;
  }

  public final boolean isTypeWidgetNull() {

    return this.typeWidgetNull;
  }

  private String typeName;

  /** Attribute typeName Be Seted Falg */
  private boolean typeNameSetted = false;

  /** Attribute typeName is Null Falg */
  private boolean typeNameNull = false;

  /**
   * Get typeName
   *
   * @return String
   */
  public final String getTypeName() {

    if (isTypeNameNull()) {
      return null;
    } else {
      return StringUtils.trim(typeName);
    }
  }

  /**
   * Set typeName
   *
   * @param String
   */
  public final void setTypeName(String typeName) {

    this.typeName = StringUtils.trim(typeName);

    this.typeNameSetted = true;

    this.setTypeNameNull(this.typeName == null);
  }

  /**
   * Get typeName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTypeNameSetted() {
    return this.typeNameSetted;
  }

  /** Set typeName Null */
  public final void setTypeNameNull() {

    this.typeNameNull = true;
  }

  public final void setTypeNameNull(boolean aNullFlag) {

    this.typeNameNull = aNullFlag;
  }

  public final boolean isTypeNameNull() {

    return this.typeNameNull;
  }

  private String allowSubField;

  /** Attribute allowSubField Be Seted Falg */
  private boolean allowSubFieldSetted = false;

  /** Attribute allowSubField is Null Falg */
  private boolean allowSubFieldNull = false;

  /**
   * Get allowSubField
   *
   * @return String
   */
  public final String getAllowSubField() {

    if (isAllowSubFieldNull()) {
      return null;
    } else {
      return StringUtils.trim(allowSubField);
    }
  }

  /**
   * Set allowSubField
   *
   * @param String
   */
  public final void setAllowSubField(String allowSubField) {

    this.allowSubField = StringUtils.trim(allowSubField);

    this.allowSubFieldSetted = true;

    this.setAllowSubFieldNull(this.allowSubField == null);
  }

  /**
   * Get allowSubField Has Been Setted
   *
   * @return boolean
   */
  public final boolean isAllowSubFieldSetted() {
    return this.allowSubFieldSetted;
  }

  /** Set allowSubField Null */
  public final void setAllowSubFieldNull() {

    this.allowSubFieldNull = true;
  }

  public final void setAllowSubFieldNull(boolean aNullFlag) {

    this.allowSubFieldNull = aNullFlag;
  }

  public final boolean isAllowSubFieldNull() {

    return this.allowSubFieldNull;
  }

  private String typeIcon;

  /** Attribute typeIcon Be Seted Falg */
  private boolean typeIconSetted = false;

  /** Attribute typeIcon is Null Falg */
  private boolean typeIconNull = false;

  /**
   * Get typeIcon
   *
   * @return String
   */
  public final String getTypeIcon() {

    if (isTypeIconNull()) {
      return null;
    } else {
      return StringUtils.trim(typeIcon);
    }
  }

  /**
   * Set typeIcon
   *
   * @param String
   */
  public final void setTypeIcon(String typeIcon) {

    this.typeIcon = StringUtils.trim(typeIcon);

    this.typeIconSetted = true;

    this.setTypeIconNull(this.typeIcon == null);
  }

  /**
   * Get typeIcon Has Been Setted
   *
   * @return boolean
   */
  public final boolean isTypeIconSetted() {
    return this.typeIconSetted;
  }

  /** Set typeIcon Null */
  public final void setTypeIconNull() {

    this.typeIconNull = true;
  }

  public final void setTypeIconNull(boolean aNullFlag) {

    this.typeIconNull = aNullFlag;
  }

  public final boolean isTypeIconNull() {

    return this.typeIconNull;
  }

  private String dataSourceCode;

  /** Attribute dataSourceCode Be Seted Falg */
  private boolean dataSourceCodeSetted = false;

  /** Attribute dataSourceCode is Null Falg */
  private boolean dataSourceCodeNull = false;

  /**
   * Get dataSourceCode
   *
   * @return String
   */
  public final String getDataSourceCode() {

    if (isDataSourceCodeNull()) {
      return null;
    } else {
      return StringUtils.trim(dataSourceCode);
    }
  }

  /**
   * Set dataSourceCode
   *
   * @param String
   */
  public final void setDataSourceCode(String dataSourceCode) {

    this.dataSourceCode = StringUtils.trim(dataSourceCode);

    this.dataSourceCodeSetted = true;

    this.setDataSourceCodeNull(this.dataSourceCode == null);
  }

  /**
   * Get dataSourceCode Has Been Setted
   *
   * @return boolean
   */
  public final boolean isDataSourceCodeSetted() {
    return this.dataSourceCodeSetted;
  }

  /** Set dataSourceCode Null */
  public final void setDataSourceCodeNull() {

    this.dataSourceCodeNull = true;
  }

  public final void setDataSourceCodeNull(boolean aNullFlag) {

    this.dataSourceCodeNull = aNullFlag;
  }

  public final boolean isDataSourceCodeNull() {

    return this.dataSourceCodeNull;
  }

  private String dataSourceName;

  /** Attribute dataSourceName Be Seted Falg */
  private boolean dataSourceNameSetted = false;

  /** Attribute dataSourceName is Null Falg */
  private boolean dataSourceNameNull = false;

  /**
   * Get dataSourceName
   *
   * @return String
   */
  public final String getDataSourceName() {

    if (isDataSourceNameNull()) {
      return null;
    } else {
      return StringUtils.trim(dataSourceName);
    }
  }

  /**
   * Set dataSourceName
   *
   * @param String
   */
  public final void setDataSourceName(String dataSourceName) {

    this.dataSourceName = StringUtils.trim(dataSourceName);

    this.dataSourceNameSetted = true;

    this.setDataSourceNameNull(this.dataSourceName == null);
  }

  /**
   * Get dataSourceName Has Been Setted
   *
   * @return boolean
   */
  public final boolean isDataSourceNameSetted() {
    return this.dataSourceNameSetted;
  }

  /** Set dataSourceName Null */
  public final void setDataSourceNameNull() {

    this.dataSourceNameNull = true;
  }

  public final void setDataSourceNameNull(boolean aNullFlag) {

    this.dataSourceNameNull = aNullFlag;
  }

  public final boolean isDataSourceNameNull() {

    return this.dataSourceNameNull;
  }

  public int hashCode() {
    final int prime = 31;
    int result = 1;

    result = prime * result + (int) (getId() ^ (getId() >>> 32));

    return result;
  }

  public boolean equals(Object obj) {

    if (obj == null) {
      return false;
    }
    if ((obj instanceof ProductUIFormField) == false) {
      return false;
    }
    ProductUIFormField other = (ProductUIFormField) obj;

    if (getId() != other.getId()) {
      return false;
    }

    return true;
  }

  public String toString() {

    StringBuffer buffer = new StringBuffer();

    buffer.append("[");

    buffer.append("modelPropertyId=");
    buffer.append(this.modelPropertyId);

    buffer.append("id=");
    buffer.append(this.id);

    buffer.append("parentId=");
    buffer.append(this.parentId);

    buffer.append("formId=");
    buffer.append(this.formId);

    buffer.append("typeId=");
    buffer.append(this.typeId);

    buffer.append("code=");
    buffer.append(this.code);

    buffer.append("title=");
    buffer.append(this.title);

    buffer.append("titleKey=");
    buffer.append(this.titleKey);

    buffer.append("tipInfo=");
    buffer.append(this.tipInfo);

    buffer.append("readOnly=");
    buffer.append(this.readOnly);

    buffer.append("allowEmpty=");
    buffer.append(this.allowEmpty);

    buffer.append("dataSource=");
    buffer.append(this.dataSource);

    buffer.append("style=");
    buffer.append(this.style);

    buffer.append("parameterValue=");
    buffer.append(this.parameterValue);

    buffer.append("sortIndex=");
    buffer.append(this.sortIndex);

    buffer.append("status=");
    buffer.append(this.status);

    buffer.append("remarks=");
    buffer.append(this.remarks);

    buffer.append("typeWidget=");
    buffer.append(this.typeWidget);

    buffer.append("typeName=");
    buffer.append(this.typeName);

    buffer.append("allowSubField=");
    buffer.append(this.allowSubField);

    buffer.append("typeIcon=");
    buffer.append(this.typeIcon);

    buffer.append("dataSourceCode=");
    buffer.append(this.dataSourceCode);

    buffer.append("dataSourceName=");
    buffer.append(this.dataSourceName);

    buffer.append("fieldSpan=");
    buffer.append(this.fieldSpan);

    buffer.append("fieldColumn=");
    buffer.append(this.fieldColumn);

    buffer.append("remenberValue=");
    buffer.append(this.remenberValue);

    buffer.append("]");

    return buffer.toString();
  }
}
